package cn.nutz.entity;

import org.nutz.dao.entity.annotation.Table;
import org.nutz.json.JsonField;

/**
 * Created by Jianghao on 2017/9/3
 *
 * @howechiang
 */
@Table("user")
public class User extends Entity {


    private Long id;

    /**
     * 名称
     */
    private String name;

    /**
     * 年龄
     */
    @JsonField(ignore = false)
    private Integer age;

    /**
     * 地址
     */
    private String address;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
}
